<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

 ?>
 <?= Html::cssFile('./css/course/common.css')?>
<?= Html::cssFile('./css/course/bootstrap-extends.css')?>
<?= Html::cssFile('./css/course/class-default.css')?>
<?= Html::cssFile('./css/course/web.css')?>
<?= Html::cssFile('./css/course/member.css')?>
<?= Html::cssFile('./css/course/font-awesome.min.css')?>

  <div class="row">
  <div class="col-md-offset-2 col-md-8">  

    <div class="panel panel-default panel-page" style="height:500px">
      <div class="panel-heading"><h2>创建课程</h2></div>
        <br><br>
         <?php
$form = ActiveForm::begin(['method'=>'post',]); ?>

          <div class="form-group">
            <div class="col-md-2 control-label"><label for="course_title" class="required">标题</label></div>
            <div class="col-md-8 controls">
              <input type="text" id="course_title" name="title" required="required" class="form-control" data-widget-cid="widget-1" data-explain="">
              <div class="help-block"></div>
            </div>
          </div>

          <div class="form-group">
            <div class="col-md-offset-2 col-md-8 controls">
              <input id="course-create-btn" data-submiting-text="正在创建" class="btn btn-fat btn-primary" type="submit" value="创建">
            </div>
          </div>

                    <div class="form-group">
            <div class="col-md-offset-2 col-md-8 controls">
              <p class="mtl"><a href="http://www.qiqiuyu.com/course/22" class="text-muted" target="_blank">如何创建课程？</a></p>
            </div>
          </div>
          
          <input type="hidden" name="_csrf_token" value="5c82737f8efaceb3231e1928db34a08b8d348e51">
          <input type="hidden" name="type" value="normal">

       <?php ActiveForm::end(); ?>

          </div>

  </div>
  </div>
  </div>